package com.gitee.cirnochat.chat.model.vo.req;


import com.gitee.cirnochat.chat.model.dto.ChatUser;
import com.gitee.cirnochat.chat.model.enums.SignalType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 信令消息请求对象
 * <p>
 * 用于在 WebRTC 通信中传递信令信息，如 offer、answer、candidate 等。
 * </p>
 *
 * @author FlanChan
 * @since 2025-04-18 22:31:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SignalMessageRequest {
    private SignalType type; // "offer", "answer", "candidate"
    private ChatUser user; // 发送者信息
    private Long receiver;
    private Map<String, Object> payload; // 负载信息
}
